package levels
{
    public class Level2 extends LevelModel
    {
    
        public function Level2()
        {
            playerX = 100;
            playerY = 100;
            
            levelWidth = 2500;
            levelHeight = 640;
            
            /*
                0 - building [id, x, y, width, height]
                1 - grider [id, x, y, length, rotation]
                2 - billboard [id, x, y, width, height]
            */
            background.push([0,0,120,250,380]);
            background.push([0,260,300,300,180]);    
            background.push([0,580,100,300,400]); 
            background.push([1,520,200,10000,0]);           
            background.push([1,322,200,100,90]);
            background.push([1,520,200,100,90]);
            background.push([2,290,130,250,110]);
            
            /*
              
                1 - ChainSaw
                2 - Mace 
                3 - ElectricCharge
            */
            
            enemies.push({"type":3, "x":350, "y":130, "delay":20, "sleep":90})
            enemies.push({"type":1, "radius":25, "x":260, "y":120})
            enemies.push({"type":3, "x":500, "y":130, "delay":10, "sleep":85})
            enemies.push({"type":1, "radius":25, "x":580, "y":120})
            //enemies.push({"type":2, "velocity":20, "x":500, "y":300})
        }
    
    }
}
